package com.wlc.base.extendsdemo;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description
 * @date 2021-09-27 08:45
 */
public class Xiaoming extends People {


    public Xiaoming(String name, String age) {

    }

    public Xiaoming() {

    }

    @Override
    public void say() {
        super.say();
        System.out.println("我不想说话了" + super.address);
    }



      private String age;
    public static void myMethod(){
        Xiaoming xiaoming = new Xiaoming();
        xiaoming.age = "23";
        System.out.println(xiaoming.age);

    }

    public static void main(String[] args) {
        Xiaoming xiaoming = new Xiaoming("小明", "23");
        myMethod();
    }
}
